package domain

type ProjectInfo struct {
	Name     string
	LocalDir string
	Module   string
	Packages []*PackageInfo
}

func NewProjectInfo() *ProjectInfo {
	it := new(ProjectInfo)
	it.Packages = []*PackageInfo{}
	return it
}

func (me *ProjectInfo) AppendPackage(it *PackageInfo) {
	it.Project = me
	me.Packages = append(me.Packages, it)
}
